

/* 套一个内部盒子是为了隐藏丑陋的滚动条 */
.sdxmenu-scroll-box{
  width: 276px;
  height:100%;
  overflow-y:scroll;
  overflow-x: hidden;


}
/* f0a9 */
/* 菜单下的ul统一样式 */
.sdxmenu-wrapper ul {
  white-space: nowrap;
  margin: 0;
  padding: 0;
  list-style: none;
  
}


/* 菜单下的a统一设计 */
.sdxmenu-wrapper a {
  color: #5f6f81;
  text-decoration: none;
  cursor: pointer;
}

/* 前面的小图标这里设置就已经统一高度 */
.sdxmenu-wrapper ul li a::before {
  height: 50px;
  line-height: 50px;
  width: 50px;
  display: inline-block;
  text-align: center;
  font-size: 22px;
}

/* 第一个li的搜索框 */
input.sdxmenu-search {
  padding: 0;
  outline: none;
  border: none;
  background: transparent;
  color: #5f6f81;
  cursor: pointer;
}

/* 菜单下的一级ul下的li */
.sdxmenu-wrapper > .sdxmenu-scroll-box > ul > li {
  border-bottom: 1px solid #e7e7e7;
}


/* 二级菜单的样式 */
.sdxmenu-wrapper .sdxmenu-item-has-submenu .sdxmenu-submenu {
  display: none;
}

/* 左侧菜单有子元素展开时显示 */
.sdxmenu-wrapper .sdxmenu-item-has-submenu.open .sdxmenu-submenu {
  display: block;
}


/* 菜单展开后增加宽度 */
.sdxmenu-wrapper.sdxmenu-open-all {
  width: 260px;
}
.sdxmenu-wrapper.sdxmenu-open-all .sdxmenu-item-has-submenu{
  position: relative;
}

/* 这个是后面会旋转的小图标 */
.sdxmenu-wrapper.sdxmenu-open-all .sdxmenu-item-has-submenu > a:after {
  position: absolute;
  right: 15px;
  font-family: "FontAwesome";
  font-size: 15px;
  content: "\f105";
  /* 不用垂直布局也不用lineheight真的好麻烦 */
  margin-top: 16px;
  display: inline-block;
  -webkit-transition: -webkit-transform 0.2s linear;
  transition: -webkit-transform 0.2s linear;
  transition: transform 0.2s linear;
  transition: transform 0.2s linear, -webkit-transform 0.2s linear;
}


/* 这个是后面会旋转的小图标 */
.sdxmenu-wrapper.sdxmenu-open-all .sdxmenu-item-has-submenu.open > a:after {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}


.sdxmenu-wrapper.sdxmenu-open-all,
.sdxmenu-wrapper.sdxmenu-open-part {
  -webkit-transform: translateX(0px);
  -moz-transform: translateX(0px);
  transform: translateX(0px);
}


/* 响应式处理 */
@media (max-width: 1170px) {
  .sdxmenu-wrapper {
    top: 0 !important;
  }

  .sd-mask-modal {
    background-color: rgba(0, 0, 0, 0.3) !important;
  }
  .sdxmenu-scroll-box{
    width: 260px !important;
  }


}
/* 遮罩层只在缩小时候展示 */
.sd-mask-modal {
  background-color: transparent;
  height: 100%;
  left: 0;
  opacity: 1;
  top: 0;
  visibility: visible;
  width: 100%;
  z-index: 1039;
  position: fixed;
  -webkit-transition: visibility 0 linear 0.4s,
    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: visibility 0 linear 0.4s,
    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
